package com.gimi.cloud.jimi.dto.order;


import com.gimi.cloud.jimi.dto.base.BaseDTO;
import com.gimi.cloud.jimi.dto.params.OrderParams;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by shazhiwei on 2018/1/9.
 */
public class OrderExpressDTO extends BaseDTO {
    private Integer oeId;
    /**
     * 订单id
     */
    private Integer oId;
    /**
     * 订单编号
     */
    private String orderCode;
    /**
     * 收货人姓名
     */
    @NotBlank(message = "收货人姓名不能为空",groups = {OrderParams.AddOrder.class})
    private String name;
    /**
     * 收货人电话号码
     */
    @NotBlank(message = "收货人电话号码不能为空",groups = {OrderParams.AddOrder.class})
    private String mobile;
    /**
     * 收货人所属省市区(省市区通过空格区隔)
     */
    @NotBlank(message = "省市区不能为空",groups = {OrderParams.AddOrder.class})
    private String address;
    /**
     * 街道地址
     */
    @NotBlank(message = "街道地址不能为空",groups = {OrderParams.AddOrder.class})
    private String detailAddress;
    /**
     * 邮政编码
     */
    private String postCode;
//    /**
//     * 所属合作方
//     */
//    private Integer partnerId;

    public Integer getOeId() {
        return oeId;
    }

    public void setOeId(Integer oeId) {
        this.oeId = oeId;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }

//    public Integer getPartnerId() {
//        return partnerId;
//    }
//
//    public void setPartnerId(Integer partnerId) {
//        this.partnerId = partnerId;
//    }
}
